#:定义一个列表，输出其中重复的值，
# 例如列表 [1,3,3,5,7,5,2],则应输出 3，5
def find_repeat(lst):
    repeat_lst = []
    for i in lst:
        if lst.count(i) > 1 and i not in repeat_lst:
            repeat_lst.append(i)
    return repeat_lst

if __name__ == '__main__':
    lst = [1,3,3,5,7,5,2]
    print(find_repeat(lst))